Add support for dynamic window titles