Refactored buffer class to be a tab item
Made ICodeEditor inherit IInputElement so we can use some wpf props