refactor show page to improve display of ace editor and set 2 spaces for tabs