still got a problem, when I load level 2 the screen goes black =/

edit: I think the while loop from function main() is still running, is the some way to stop it when the second level is loaded? Thanks