Scene renderer() method renamed record().
Moved error display function from main.js into Window class.