Add some comments. Move non-used code under if0 define