krausshalt

bug fixes and improvements