Fixed major memory leak and added ship movement and mouse tracking