fix rlencode to not encode run of 2 as 3 bytes, added special cases
update rldecode to reflect the changes to encoding
fixed bug where stop recording is called twice