Improvements to Library Loading functions, better error reporting.
Renamed unix folders to be more specific. Added i686 support.