Added DestroyBoard function to delete bitmap handles.