Fixed FPS crash and added some player features