CORE: fixed an out of bounds write
Fixed the startup command and target directory when building in Release|x86