If is not currently safe to access Context in a Control constructor since Click could instantiate the Control during resource deployment phase. Context is not available during deployment phase.
Invoking Context.getThreadLocalContext throws exception if a Context is not on the stack.
We should add a static query method that detects if Context is available or not. This provides us the ability to use Context in the Control constructor, as long as we check if Context is available or not.