Revert "removing extra brjs.close that were missed previously"

This reverts commit 97beea49805ba5abd729df382a0942280af346b9.
Revert "removing calls to brjs.close which should have been added to previous commit"

This reverts commit cda52ddc9c80f5d7aad7ed12c10ed61bcc5dbf07.
Revert "removing brjs.close and brjs.finalize since we now shouldnt need to dispose of watchers until the JVM exits anyway"

This reverts commit 34df379a9177fa5f1a30831bb6dd7dcc6f475d5c.
Revert "removing unused imports"

This reverts commit 7eefb5586a21de1b530b8f7d4bc706724bfb5ffe.