Add lite version + various bug fixes and tidying.
Mark outgoing timestamps as unsupported in lite