Default frame size and two methods of checking existence of modules

have been added.