Slightly more window-independent (not really)