Add features

Predefined query window.
Tab Manager class.
Login fixes.