adapt textedit

another missing file error, cause of cherry-picking from animated_ui
cleaner getfps
getfps fix
fixing some merging misses
SDL_mixers DEFAULT_FREQUENCY is shit