menu rework, main menu button moved to title bar
changes - fuck if i know why this program is leaking....
more menu refactor