fix missing ssh tty, add rsync, fix synch of locks, update todo