Yep, just sticking a while(time not right){} loop at the end fixed it! I've uploaded a new version with the improved performance (it feels a lot better at a solid 60FPS than 30!), plus one or two other little things I added over the weekend. Thanks for the help, friendly lain-anon :)