Completed additional functions and commands to kill the onclick functionality once a certain number of clicks have been made.