Add support for auto-nop, and thread finish

Also, reindent assembler, and fix some random bugs