Finished implementing all event listeners.