Attempt at C++ optimisation

This attempt covers the removal of anchor links and replacing it with
custom link parsing using getCharIndexAtPoint() function. This does not
work as expected yet. Initial loading screen causes Flash Player to stop
responding, but eventually loads to stability.

Custom link parsing currently results in unexpected output.