Restored Removed Code

Restored code that I accidentally overwrote with the last checkin.

Added proper spacing and removed kiosk parameter from the constructor of
the SonicProtocol class.