Fix bug in error handling logic
Change IDs for peltier and light
Formatting changes
More formatting changes
Re-added missing styles lost during merge