Make sublime prompt for the output file.

Some other small fixes and changes.