Closes down the system by releasing the dataset and device. If no other sub-system is using the graphics device this will also be closed.