Adjusted sanity check for display numbers to account for 0 and below and...

... modified current-path option to take notice of supplied display IDs.

Thanks a lot for this script, very useful indeed!