Escaping variables before they're output
added a nonce check for the plugin options form
Using the correct, more specific hook
load scripts and styles only on edit post pages
fixing php notice for an undefined index
convert spaces to tabs