fix responsiveness and add deletion support to env api
fix typo and check for edge case
enable env api
various fixes
project lifetime fixes and cleanup