Fixed errors in handling requests from unauthenticated users
Added a method to send surfaces, as yet untested I think. Also improved an error msg.
Everything works! Time to start refactoring.
Changed error handling to use the python logging module
Fixed something, but I can't see what, since git's diff is messing up.