adding asm editor and some small fixes