some cleanup, also removed unneeded isSettled functions - using events now instead
refactor - split out indiviual item html to it's own function
fixes #2 added merge sort