Added a config tab and some limited gui config functionality.
Added config loading from properties table JSON.
Added config writing, error checking, form validation.