Store window procedures in a static array instead of creating a heap. Only allocate the winproc selector when actually needed.