Moved installer check for the old version, so WpfMessageBox can be used. Manual loading of styles. Refactoring.