Add SerialProvider.
Add missing header.
added functions to get the current gl/display context