Integrated mdp calls, nav timeouts and some bug fixes.

Oh, and some logging of events.