Tested fina version. Turned off all debugging messages