Update PlugXDecode.py

cleanup, new flags, stupid bugfixes