fix bug with layouting of outline views while reopening project
fix bug that produced exceptions if a tss command is running while closing
revert some things i changed for debugging