show IdInfo in debugging output
avoid double-linking shims in incremental builds
update Template Haskell code to load foreign code for library archives
add missing getApp case for newtype constructors