Added focus follows mouse

I added a global preference mechanism, and an option to enable x11 style focus follows mouse.