Updates to work with rpc

Updates to work with rpcdice.eu, as well as a few custom features and
bug fixes. Moved to newer version of gecko and xulrunner.