Clean up code styles; add try/catch around paste creation; add readme.

It's almost entirely just code cleanup (converting all the two-space indents to tabs, and making the brackets and ->with()s a little more consistent).

It also adds a basic README with installation instructions and a try/catch block around the create (with an error popup style) for debugging issues.