Library for managing windows for cross platform UI applications