Fixed buffer overflow problems for long slop commands, and --gracetime not working properly