remove ButtonBar factory constructor
remove GLCanvas factory constructor
add some comments and clean up index.dart
remove gl parameter from GLCanvas class