Fix uikit.do spool appending with len(idle_tasks) instead of -1.
Unpack window state treepath tuple conversion into 1:2:3 strings.