Refactored initialization process.
Got new course dialog to show up.