loca table fixes and added RLE encoding

whitespace?