VM: endless loop prevention
VM: attempt to get integer ops right
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel