Fix a few bugs in remote setup.
Tweak a few remote functions.
Build into function into remote manager.
Work on remote credentials.
Fix bug in Remote manager.