added menu, custom window close, gui for creating player, fixed singleton in player, model, menu are now singletons too