Fix strict warning.
Use hooked access callback to make GUI respond.
Merge pull request #45 from adam-vessey/7.x-hooked-access

7.x hooked access