wndProc is defined as static in graphics.cpp, removing global declaration
exception -> runtime_error, exceptions constructor doesnt take parameters
fixed exception specifier mismatch