fixed all errors popping up and completed upgrade to factorio >= 2.0 versions
