Fixed Issue with multiplate frames being created and not being closed on
exit properly