Compiles, runs but then craches: main loop started ...
Base for general refactoring