Adapted tutorials to new library, seems to have fixed all weird bugs