fix some quotes/double quotes problems
only save buffers and tabs in sessions