Enabled C++11 features in compiler.
Replaced all QSharedPointer with std::shared_ptr.
Added state prototype to MainWindow.
Replaced shared pointer fields with simple variables.
Code refactored to prefer references over pointers.
Removed unnecessary QScopedPointers in Renderer.