Remove temporary C-string buffers in CMusic

Includes minor other changes.