Viewer css fixes, fixed an issue in the control bar, rewrote the control...

...ler logic, Added plain image annotations to the tree and added callback functions to handle the data.