Made the navigation buttons look nicer
Added check to see if any period was found