compile rts/Sim only once for engine + headless
add missing file
fix crash / order of (de)init
Merge pull request #122 from spring/shared-sim

Shared sim