Add signal for notifying when the graphics have been initialised
Add getContext function
Shorten long lines