core: fix condition processing (resolve #25)
core: improve 'break' and 'continue' insertion