Porting an IDAPython Plugin to IDA 9

Alternatives for some APIs removed in IDA 9