refactor out GP2X specific stuff completely