adding ability to attach to the active pane

fixing issue #9 again…. #27 was/is broken