if you want these changes here they are... I'm very new to github so if I'm not observing proper etiquette then I apologize.
fix formatting and syntax bugs
Was just going to add the same fixes.
Interestingly i'm not the first person to make fixes available. maintainer may not be interested in the project any longer. time will tell.