Added Paste and Parse Method

Also fixed a defect where the app would crash when the input box was
empty.