Capped FPS, and fixed other bugs