Remove profiling decorator
Simplify "cursor" function in "misc" module
Remove forgotten debug echoes
Improved performance for current element highlighting