Fixed small bug (check for None)
Added root directory to the title bar