A few fixes to the race/culture section.
Selecting "Dwarf" no longer crashes the program.
Added a __getitem__ to MainWindow, making it much more readable.