Sawhat : added syntax color + image preview + bug fixes