Fixed cmake error on windows.
Fixed compute capatibility checking each time cmake is run.
misc updates.
Added scene serialization.
Updates for serialization.