Improved display of invalid Window IDs

Invalid Window IDs (negative numbers, non-numeric value) now show as "Invalid" with a tooltip that indicates it is an invalid ID.