added file edit, improved table layout