Fixed memory issues with lights [#35]
Fix network checking issues [#35
]