Fixed many warnings reported with EXTRA_WARNINGS enabled
Fixed many warnings reported with EXTRA_WARNINGS enabled in Apps