ActiveAE: fix segfault caused by dangling gui sounds
ActiveAE: feed only first 512 samples of an audio buffer into viz
Merge pull request #3531 from FernetMenta/aefixes

ActiveAE fixes - Make Pike happy (viz, settings segfault)
CurlFile: no need for forward declaration if header is included
cximage: additional fix for 0e3d1663117cfc6b08081402cfc0104d306ff8ac