removed unused code, updated change event filtering, and added init function to release everything by default