Fixup a few minor syntax erros
Fiying up async loading of files