Small update: separated class "Resources" from class "Window".