Clean up variable declarations.
Remove code preventing ulines from being removed.

If your services client should not be removable then use the
servprotect user mode.
Use WriteNotice instead of WriteServ.