refactoring gulpum
fixes UnNetHack bug #154