Updated todo
On empty sites, avoida the crash of the app
Don't lock the text if there is no session id set
Publishing routines (untested)