Added window identifier

Fixes #52