Option to clear log and keep only 5 last items and some ui improvements fix #77