Fix input creation from command

We need to use the factory here to pass along pre-existing
text correctly. Fix the command input and project-exec
command as well.
Add an activity indicator

A spinner that is active for buffers with running activities,
e.g. for command buffers.