Added events to add leak positions to arrays (NOTE: DOES NOT WORK)

For some reason, when running you get a black screen.