added goto reference and show references, improved cursor saving