Minor stuff.
Don't let the do_install method be ran if the application has already been installed. Can't believe we missed this, but thanks to Mehmet Dursun for reporting it and doing so in a very ethical manner.