Store window procedures in a static array instead of creating a heap.