Fixed error with return from unregister and menu terminating.
All appears to be working now.