Implemented better support for window focus and blur. This may pass too many events to Cocoa, we'll see how it goes.
Splitting InterfaceLib.h/cpp into more files because it was getting messy