add remove_empty_regions and strip_selection commands; add .gitignore