Clean up the examples browser code.

Remove some unnused variables and constants.