Further tab improvements (close button yay!). Started editor integration