added undock action;
some improvements;
release accomplish;