update RegisterLevels stuff (fixes #25)