(1) Sync while, break, etc.
(2) Enhanced error reporting