Update templates
Make the panel page editor halfway usable
Refactor panel editor to be more precise