Minor aesthetical improvements
Move validation to RemoteServices.pm

Instead of having dispersed in CGIs to make it easier to unit test.