Fixed order of packages in @package_list, so that two emerges can occour at the same time, and status will not be swapped on those.. Fixed some small errors here and there..