Write comment
Use Workspace::getActivePaneItem. fixes #10