Make :x and type providers work conveniently

This puts the process buffer into comint mode and causes it to pop to the front when something interesting happens in it, so that users aren't wondering what's happening.

Fixes #21.

This also fixes a compiler warning.