Handle present function flags.

This change fixes presentations that use the .code -edit and -numbers
flags.