Use PackageID's which know a packages version number
Catch exceptions when compiling

Makes it possible to properly report errors in the case of a crash.