Fix bundler & resolver when multiple import levels.
Enhance error management a little bit.