improved input lock

Using low level keyboard/mouse hook to block input.
On screen keyboard will not be blocked
Fixed MDA Exception