Move main window to new class; add 'reload' button
Remove duplicate QFile::open (fixes runtime warn)