Fixed compilation issues and runtime crashes with spider disassembler