Added mouse centering, shifted line rendering option from pixels to window