ui for summary, reorganize code to prevent multiple calls on listeners, modify keyword algorithm slightly. Needs to be improved, but will do for prototype