Fixed a few bugs. Now actually compiles without errors. To do: Add better light logic. Add better bootup logic.