Upgraded monitor finder function to support finding modems as well