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?
do we need to do some basic checks? e.g. is it ok t pass the string '300' for the mins??