Minor cleanup.

Warning signs should not overwrite error ones.
Use buffers instead of file names when placing signs.
Other minor changes.