JSHint
Print UI view in the last step
Do not convert print context to Ascii (layer names)
Patch for empty map screenshots (fixes #597)