Added support for multiple editor tabs