Add hack to load 'loader.lua' when passed with no arguments (ie, clicking on exe). Various infrastructure