Add commands for "insert from file" and "word count". Fixed a bug where palette commands can't really
show status bar toasts.
Fixes #141.