Remove obsolete, commented-out code
Introduce experimental bmpreplace mode for GDV