Do you have a try/catch in your on load so you can check for errors and show a message box with the error? That may help you.
I've seen this case issue before - even though I was passing in and checking for a param with proper case, IP was getting one with all lower case - and no, it wouldn't surprise me if browser and filler behaved differently here.
You can debug with input params - open the project explorer (in VSTA, not sure where you are writing your code or what version of IP you are using) and right click the project, select Properties. There is a place under the Debug category where you can enter command line arguments - it has been a while since I've done it, but the command line params ref is here.