Added error messages, changed input to pil-type, small visual tweaks 620f5cb mikonvergence commited on Mar 24, 2023