Thumbs fixes and update submodule tpl/0