make sure window handles are strings
add tests for stringiness of window handles