ensure that the indicator will be created properly

this patch will fixes #256 #327 #464, and maybe #432 (i can't reproduce this issue)
Merge pull request #466 from petercommand/appindicator

ensure that the indicator will be created properly