Have you searched "Ignition Switch"?
On the E39, any number of crazy things can be caused by a faulty unit.
Mine was bad, and things that could not possibly be related were magically
working, after the replacement.
Anyway, great car!
Love the 535 model.
Gotta be one of the easiest cars to maintain there are.