Separated code into more functions for better readability and style.
Implemented Jiayu's text box code.
Prevented users from placing pins off the image.
Broke the Delete function :(