[control] buttons now lock/unlock depending on gamemode fix #6
use config for a few var that were hardcoded