Decreased sleep time when handling frames
New library
Removed debug argument