Bugfixes and build script

Fixed bug where it would give exception when trying to unregister
multiple times.
Made build script that merges all the DLL files into a single exe file.