Sift flour, spices, baking soda and baking powder in a large bowl. Set aside.
Cream butter in mixer with paddle attachment. Add sugar and mix till fluffy. Mix in eggs and molasses.
Slowly add flour mixture on slow speed until combined. Divide dough into 3 balls and wrap each in plastic. Chill at least 1 hour before rolling out and cutting shapes.
Preheat oven to 350 degrees F.
Line cookie sheets with parchment.
On a floured surface roll out dough to ⅛ an inch in thickness. Cut shapes out, combine similar sized pieces onto cookie sheets for even baking.
Chill for 15 minutes before baking. This helps prevent spreading.
Bake 15 minutes. If adding sugar glass, bake 11 minutes, add candy melt 4 minutes. Smaller items may be done after 11 minutes.