added MainWindow code, started DungeonViewer