fix closing tag
rework function preventing focus after mouseclicks
outline style tweaks