Added test window and window toggling from the menu
Added event based updating and improved toggle