config files
Works with new connectToOnApp() function
Deal with no arguments better, tidied ip address checking
Merge branch 'configfile'