Forms now remove themselves from parent forms when they are destroyed.