Fixed a lot of issues with the remote interfaces and adaptor classes.
All RMI related (inherit proper class, throw proper exceptions).