If you are experiencing a syntax error in the control file, it's likely due to a LINE FEED in the file that is not visible.
I haven't had the time to fix and commit, but this is what I did to fix locally:
open the monitrc template in vim
view in hex mode: :%!xxd
go to the end of the file, delete the invisible characters that have hex value (0a)
DO NOT SAVE YET
undo hex mode: :%!xxd -r