switched extension table to use ul instead (and other improvements)