plotting: Add synchronous option
simplify printing, allow comments
shifting code