Same-origin policy issue resolved.
Slightly improved error reporting.
New Rakefile with key generation and file signing.