separating render method
minor tweaks
When rendering based on received input glfwWaitEvents() should be used (editing tools)