#230 fixed extra new line and reactivated production code after Joseph's UI fixes