Refactoring, centering windows, adding dialogs.