Level switch added, some bugs fixed

Collision detection bug was fixed
Other small bug fixes