Refactored server/panels/PreviewPanel.js to inherit from server/Relay.js