finished door drawing functions and added window scaling for the board