Make modelist print to regular log not developer. Remove extra newlines
Remove unused variable
When the areaportalMask changes invalidate all cached clusters.

Invalidating only the current view cluster is not enough, because the
player can walk back into an already cached cluster which then would
be drawn based on the old areamask setting.
Slightly improve IQM culling. This doesn't fix all the problems though
Relax path validation to only disallow consecutive / or .
Remove --console-log-level=warn from download-pk3-torrent.sh since debian's current aria2 version doesn't support it.
Only continue flushing stdin if data has actually been read.

Code as was would repeatedly call read() until it returned -1. However,
read() returns 0 at EOF (and I've seen this function spin because of this),
and I've read that ‘some other implementations’ may return -2.