application destructor cleanup, spacing cleanup