fixed a stupid bug on the markers & added a detail window