Improved find command and exception handling in server.