Decoupling Preferences window. 

Moved preferences window to separated XIB. Moved controller stuff out of preferences window view to a newly created controller.