First steps to light syncing

Signed-off-by: Jack Huey kitskub@gmail.com
Fix the non-saving of map files

Signed-off-by: Jack Huey kitskub@gmail.com
Finish implementing light sending

Signed-off-by: Jack Huey kitskub@gmail.com