The implementation of all these menus, settings, score systems and etc ... all it takes a lot of time! I've implemented a game within a week! But as for this "wrapper" for the game, I have already spent three weeks and still have not finished.
Here raised a reasonable question - why does it take so long? I encountered two major problems which I want to describe further.