Fixed Memory Leak
Removed Unused Libraries