Undo session changes
spaces to tabs
(wip) add functions