Added usage of command state in unwrap tool.

Repetitive unwrapping does not currently work, but will, intuitively, be
resolved when locations of canvases are changed from indexes to local
id's.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>