Cleaned up item sealing logic (moved the error codes into an enumeration, responded to the client instead of passing along errors to the database... don't handle additional checks in the event of an existing problem).