new functions for blip

New functions and a few bugfixes that came up while integrating modal day into blip.

@jh-bate can you take a look?