Added some protocol corrections, and fixed some issues with the lc service