better level change code + form loading code