EPI: sped up some, removed numerous punned pointer deref warnings