Stop undoing my changes Tom

Fixed compile errors.