Re-added depth shading.

Implements #19.

Also, the individual display flags use a named enum for code clarity.