Implement frame skipping (fixes #207)

Fix crash when changing resolution after playing game
Max frame skip is to 5 frames per second