Small fix:

Create .cache directory if not exist
Resize window