Cleanup; add critical elisp code into plugin, allow for customization of core settings.