various bugfixes and player behaviour fixes