fixing local -> localhost
Improving project properties.
Cleaning up and moving initMirror()
renaming params to vars to be more drupally
Adding flash messages.