refactoring
menubar + initial load