Updates to PLib test app

- Handler test wasn't closing unused responses
- Upload dialog crashed if no URL was provided