Moved display functions to their own file.