Correct and simplify show/hide tool fragments
Remove "synchronized" in getSpans, rebuildCache, ... and add "if (DEBUG)" before each "Log.v"
Remove toolbox fragment (originally intended to contain all functions)
More clean up