More Allegro platform features.

* Desktop size.
* Max window.
* Fix type warnings.