renamed example file
Removed index.html add, removed a couple of memory leaks and crashes