Added logic to addEntry() to add the new entry following the current" view by..." buttons. Various other touchups.