Fixed flame laventiah texts
Cleaned up much gcc warnings in scripts