Fix incorrect basedir.
Better debugging of bundled resources.
0.3.2