Cleaned up more code and fixed an issue where the mouse pointer would change when dragged.