It is very frustrating for users to upgrade to skysafari from skyportal, but skyportal actually works better in terms of telescope connectivity.
Why don't you get the existing skyportal code and port it over to skysafari which should fix glitches related to adding alignment point references.