Adding alerts

First pass at adding alerts. Also fixed issue where app would not
automatically switch to settings panel on first launch. Still need to
save recent doses to disk.