NEW:
show/hide min/max button if only on dock is in area

DEBUG:
dock.close() still leave an entry in dockarea.docks, so:
use dict instead of weakrefdict and remove dock manually from
dockArea.docks