Moved a line.
Removed useless openTabs array.