Further develop window elements, incl. titlebar

* Used flexbox for titlebar
* Positioned message box
* Added 3D borders