glBindAttributeLocation must be called before linking. Additional parameter to Program class constructor added. Enabling and binding attribute location functions were corrected.