Updated tabledisplay.php

Added ability to now show headings if preferred.
Also allowed direct passing in of Gaudi models.