Hotfix: Replace g_warning by popup error dialogs when loading invalid files, closes #123.