add registration data retrieval
variable renaming bugs
remove stray debugging call
eejit.
refactor to simplify retrieval code.