fix repeat until and improve parser error handling
add option to disable internal debug segments