start work on a generic model viewer/editor, fixed a bug in Beacon