Added preloading of Starcounter libraries. Removed old fix. Added aggregation socket creation failure check.