rewritten to display prefix number and be able to work with windows with same title