Basic square and thumbnail generators working