- starting general cleanup: history editor first:
 * cleaned up structure and styling
 * moved out styling to seperate css file
 * some minor cleanup in js