Nice work, Kulverstukas. I would suggest that you look at changing the 'execution delay' loop for something that is far less resource-intensive. Currently, it's what's known as a 'busy loop'. This keeps the processor going and wastes energy by generating heat for no real purpose. There are better ways to let the OS handle other process requests during this delay time so that you have a smoother experience overall.
Also, it may be to your benefit to use '++var' rather than 'var++'. You should be familiar with the difference between the mechanics of the two but know that '++var' should never be slower than 'var++' while it could be, potentially, faster.