Adding support for custom actions

Still updating the README, but once that's done, we should ship this as 1.3 and then contemplate pulling the flash code into its own library.
The `?` shouldn't be necessary, it's silencing a pretty big error. I think it would be better without it.