[SP] Add clipboard support to SDL2 backend. Remove unused profiling functions.