fixes #88
prevent bad xp events, fixes #87
fixing #86
fixing #78
fixing #90