Added health system and various other little bug fixes