Fixed essential callback stuff (forgot to add glfw command)
Added event class and prevented window destruction of unowned objects