Added debug page.
Updated protocol.