Added test for Spektral.toggleDisplay.
Simplified Spektral.toggleDisplay, add XHR module.