Cleaned up plugin constant and variable declarations for readability. Created ->options to store plugin options.