1. Fixed a marshalling bug when running on 32-bit systems.
2. Fixed the DLL loading routines.
3. Added better error reporting if the interfacing DLL fails to load.
4. Added support to detect running in ASP.NET to help with loading the libraries.
Special thanks to dvela1 and timacheson in helping work out some bugs! ;)