added licence header to new files, adjusted drawing of bar graph to prevent washed out effect from anti-aliasing