projection bugfix, correct text drawing and cleanup