Fixed runtime memory leaks, made a more convenient way to use input manager, fixed small bugs, cleaning things etc