Fixes for saving option tables

* Blank fields in tables no longer dissappear and shift everything over.
* Keycode fields with no keyCode set now count as blank.
Merge pull request #399 from gamefreak/table-fix

Fixes for saving option tables