Added ItemType and styles to main window