allow a DockItem to be retrieved by id
pass extra context data to floatTab
handle the possibility of a null dock item in currentChanged handler

This will happen when there is a "borrowed" tab in the panel's tab bar.