I worked hard on the game last night, and finaly managed to make changing the resolution possible.
Looks like the 3D objects was causing the crash on resolution change, so I had to delete them =(
But it's worth it to get a much nicer quality, and the game runs atleast three times faster than before!
I also made it possible to change variables on level startup. THis will be usefull later when levels are constructed! But right now they are in the config file.
dl.dropbox.com/u/36415207/z7.rar