Adjusted sanity check for display numbers to account for 0 and below and modified current-path option to take notice of supplied display IDs.