New SDL hooks to support Stonesense updates
Update Stonesense
Make it compile.
Merge branch 'delvintemp' into develop