Added player input system (you can now build gates!), fixed scrolling causing cursor offset, misc improvements