Window: added infobar for showing error messages
Dir_preview: recieve error codes
Tree: show 'empty' label in empty directories
Tree_expand: pack the TreeView widget appropriately

Make the widget PACK_SHRINK if its model is empty, otherwise use
PACK_EXPAND_WIDGET.