added MIT license
fixed uncaught exception when not run in same dir as cgminer.conf