replace manual advance() call in parse() with recover section
fix occasional double error reporting
IDEA 12.1 compatibility: colors, platform GPUB, diagrams