Fix a typo and silly crash case

Would crash instead of gracefully exiting if a tileset dir wasn't provided. Might also change how the memory limit option works - currently has to be provided, even though that's not mentioned.
Merge pull request #1146 from computertechie/patch-1

Fix a typo and silly crash case