Removed ServerAPI bugs

Found and fixed a number of ServerAPI bugs.  Things seem to be working
well now.