Require misc
If the plugin has defaults but no defaults function, merge them in
Don't need misc
Move defaults to plugin table
Added extra newline
Don't need these local to function
Defaults to table, but still use function to merge
Moved some settings to table
Fixed names
Settings to table
Defaults to table
Defaults to table