changed casting to use newer inttypes.h
added decode of MagiQuest Wand ID and magnitude of the wands wave.