fix retrospective scrolling on opening
add a marker line, that keeps track of the equivalent of a 'last read' state of the console
let ctrl-pos first jump to the markerline and on second use to the top of the console
and don't scroll over the top
add additional scrollfunctions for use in mousewheel+ctrl and potentially others
Port client logging from Tremfusion.
add con_scrollLock for configuring behavior of when to scroll down to the last line again

 * 0: no scroll lock at all, scroll down on any message ariving
 * 1: lock scrolling if in scrollback, but scroll down for send message/entered commands
 * 2: lock scrolling if in scrollback, even for own output
 * 3: always lock scrolling
fix markerline marking already removed lines after /clear has been invoked

thanks to DevHC for pointing out this issue
Add exp() as a shared trap call.
RGSs return less resources over time. Remove global resource limit
Merge branch 'master' into resources
Merge branch 'resources' into bots+resources