Add method comments and prevent window resizing as default behaviour