Moved constants to one central source. Added additional comments
Made state switching nicer and improved death animation