-- TODO --------------------------------------

- Improve the code. (Unfinished business...)

- Limit the minimum size of the window.

----------------------------------------------

