 extension KSTabView {
     class KSButton: NSControl {
 
-        var trackingArea: NSTrackingArea!
         private let parentTabView: KSTabView
         private var mouseInside = false {
             didSet {

        self.attributedTitle = colorTitle
    }

    class func makeButton(title: String, _ identifier: String?, _ imagea: NSImage?, tabView: KSTabView)  -> NSButton {
        var button = NSButton(frame: NSZeroRect)
        button.setCell(ButtonCell())
        button.title = title
        button.identifier = identifier
        button.image = imagea
        button.image?.size = NSMakeSize(tabView.fontSize * 1.7, tabView.fontSize * 1.7)
        button.imagePosition = NSCellImagePosition.ImageLeft

        }
    }
}

extension NSButton {
    private class ButtonCell: NSButtonCell {
        override func drawTitle(title: NSAttributedString, withFrame frame: NSRect, inView controlView: NSView) -> NSRect {
