cleanups
some cleanups and gui related fixes to subtitles