Hooked up the environment header controls and added a machine change object
moved the machine view rendering into browser.js
Fixed failing tests