Fixed missing INITS for functions and cleaned old stuff
gestures now OFF if screen is off and controls of gestures_enabled removed.
now KSM will work if was set ON after boot.
some perms and functions code style fix.