fix for list endings using returns
fix for end of div
including fix for copy/paste since it has a similar fix
paste fixes
added rangy libs
added logic
changed arrow to div, positioning to top/left css, wixed window edge overflow.