Bug fixes and some increased functionality

-Fixed recognition of paths that don't start with \
-Fixed error which meant that .tcf files didn't work
-Added more flexible handling of arguements for running in script model,
calling python from cmd or as executable.