Updated comments and added stub code for drawPoints optimizations.
Rough pass line writing. Ugly, but compiling and creating output.
Latest test data.