Code cleanup; sound bugfixes, new weapon, documentation

Most small bugfixes for sounds playback. Also a bugfix for jumping after death (dying int mid-air prevented jumping after respawn...).