Ignores contents of res folder
Now gray-scales images
Also stops writing if message is too long