Close stream in finally block.
Clean code and remove whitespace.
Dispose of the window when closing it.
Remove sun dependencies.
Modify method to create buffered image.
Review and clean.
Merge pull request #1259 from jburel/import-notification

Import notification
Show chgrp target tree if Projects OR Datasets exist. See #10917
Don't show red dot for non-owned P/D/I S/P/A in tree. #11039
Merge pull request #1168 from mtbc/trac-10811

fix #10811: add templatePrefix to Fileset
Do not keep reference to images when closing.
Add tests to delete MIF.
Review tests.
Fix test.
Attempt to fix test compile error
Add code and review discard methods.
Do not specify target when deleting the objects.
Move MIF, Fileset as root.
add more test for MIF
testMoveMIFWithAcquisitionData extended & passing