Don't use UUID for window IDs

This fix uses an incremented number instead.

Fixes #180