Change to C99 for portability reasons.
Comments. Sweetie_net improvements - Implemented locking mechanism into sweetie_net to prevent losing net objects.