fixed a bug where stages deleted in workflowview while managestageview was open caused errors
fixed a bug where stages with tasks could be deleted if managestageview was opened before said stage contained tasks
added tooltip for last remaining stage (remove button)

Authors: JohnPriceTX, ghfranzini