Fixed Colograph serialization.

Also adjusted grunt's tasks, and some other minor corrections.