rearranged control panel
point labels starting from 1 instead of 0
added origin label
added logic to ignore empty data entries when loading