Revert changes made in commit ed7abdb for building with libgd

After porting to GtkStack, we do not need them any more.
Add necessary comments to the abstraction interface
Make the view's stack_panel property nullable