remove callbacks after use; turn off debugging; compile