Finish 1.6.2 port
Clarify defstruct format
plugin_settings default should be dict
Updated legacy session code
Whoops