fix minor memory leaks introduced by new functionality, update usage/readme info, update todo