Properly handle deletion of stale sessions (using their lock status).
Review Request #106802 - Created Oct. 11, 2012 and submitted
In one of the places (empty session cleanup), uncomment session deletion and use tryLockSession() to determine whether it is actually possible. In another one (session chooser dialog), wrap the existing session deletion into a tryLockSession() conditional.
Made sure that the sessions are cleaned correctly.