(driver.c) Fix invalid write
(settings_data) Make sure all action setting fields are initialized
Merge pull request #1240 from heuripedes/mem-fixes

Mem fixes