- $topics needs to be initialized (undefined index error when board is empty)
- missing global

Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Merge pull request #467 from eurich/messageIndex

fixes for MessageIndex.subs