Labeled bugs and fixed closing windows when there's more than one