Hmm, a series of changes to Main.hx had not been picked up in local repo commits, corrupt perhaps...
Re-cloned locally and updated Main.hx to current.