Fixed mixing of unix/windows paths. Need to test this works cross platform.

Also removed PressEnter. Added global basename function so we can
override which version we're using, right now I'm seeing if
ntpath.basename works for all cases.