Remove NSWindow from xib

We have releasing issue with this object when login is done or cancelled. For now, just remove the window since we are using a popover anyways (window was held for backward compatibility with 10.6, which is no longer supported)
Fix some memory leaks, extend FQL support