Implemented LZW compression for localStorage. Closes #41.