Fixed readme. Updated PNG writing.