Remove unused code
Validate window controls before switching
Allow assembly hot replacement, fix item deletion