Everything works! This is version v1.0. Possible memory leak. Some things should be done to make it perfect