database change per #13
rescue typeahead
initial regeneration
resore customisations
re-enable initial device history. Closes #11