clean up
added remove all widgets
prepare to write NBT