Improve the robustness of highlight selection

Erase and draw all highlight from scratch each time
Add reload and highlight function to make sure things are working.
Add function to purge highlights.
Remove inlcudes for no longer needed libraries.