Added calculate windows to the main frame
Added Log error in calculateOutputs methods