Use utility function to add on/off switch to statusbar
Remove unused variables
Simplify on/off initialization
Fix a typo
Fix a typo
Cast address via void pointer

It avoids type-punned pointer
Refine on/off switching code
Modernize usage of AM_INIT_AUTOMAKE