stop line counting after 2000th line for posbox, optimized cursor retrieval during mouse marking
removed "unknown" hack, checking the first word of the command on specific situations instead
directory update after send_input