Added dotProduct()-method
Added methods to create gui objects directly
Added setSize()-method
Made onUpdate() pure virtual