Use better url parsing in ImageButtonPanel