Refactored logging and rasterizer; documention cleanup