Optimized initilization. Removed context menus.