Fix the currently active messages list, and the database and add a readme for install

In the process broke the history list