Fix problem where file_loaded was not fired
Remember open tabs