Crash - Fixed crash with tone generator brought on by not closing it.