Invert nbsp and normal space (when possible, not done for SCEditor) to avoid space at the beginning of new lines - report by scripple topic 1453

Signed-off-by: emanuele <emanuele45@gmail.com>
Fix running of scheduled tasks in some conditions (not sure which)

Signed-off-by: emanuele <emanuele45@gmail.com>
Try to recount mentions faster in case of accesses issues (i.e. user mentioned in a non accessible board)

Signed-off-by: emanuele <emanuele45@gmail.com>
wrong variable index - thanks faeryty for reporting

Signed-off-by: emanuele <emanuele45@gmail.com>
And use addInlineJavascript

Signed-off-by: emanuele <emanuele45@gmail.com>
Some outdated stuff

Signed-off-by: emanuele <emanuele45@gmail.com>
Isn't it better to pass variables to functions instead of use globals?

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge pull request #1739 from emanuele45/tweaks

Tweaks