Tiny fixes: enum style, typo and --pretty flowgraph errors

The changes to flowgraph make invalid invocations slightly more forgiving by (trying to) provide slightly more information and by avoiding the ICE message.