Fixed 540x540 color encoding/decoding.  Had red and blue reversed on both processes.