Inline functions for ASC 2; fix ASC 2 warnings; fix RTE in Starling renderer