Added end of level wait and moved scattered instance variables to top.