Fix bug in SSH2 code, Closes #70
Updates to GSD functions and better AJAX calls.