Debug of the main module. Everything seems to work excepted the end of the walking scene.