Changed Profiler window and Added MainWindow Class