Upgrade to XimianDesktop 2 breaks Galeon

If you get this error from Galeon after upgrading to XimianDesktop 2

INTERNAL ERROR on Browser End: No manager for initializing factory?
System error?:: Success

then try removing stale /usr/lib/mozilla directories. Apparently, the Sun Java plugin is the culprit in some cases, and should be replaced by the Blackdown plugin.

lib/main.php:944: Notice: PageInfo: Cannot find action page

lib/main.php:839: Notice: PageInfo: Unknown action