Additional fixes for multi-session support.
Fix to build.xml.
Removed deprecated files.
UI wasn't removed from session list when sleeping.