Comments and remove unused code
Have to destroy the window object...