Moved command stack gui stuff into gui lib #36