Mostly done, a few minor cleanups left.
Problems with inability to write individual bytes to flash. Need to reorganize to read/write word-multiples instead.