More C-Style comments
Capture shutdown errors and return -1, per marquise.h header comments
Add test to confirm lock_path being constructed properly