Frame positioning at program start
removed some debug output