CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2015
Dec. 31, 2014
Dec. 31, 2013
Cash flows from operating activities:      
Net income (loss) $ 31,483 $ (79,827) $ (15,867)
Reconciliation of net income (loss) to net cash provided by (used in) operating activities:      
(Income) loss from discontinued operations (96,032) 5,219 (20,831)
Depreciation and amortization 27,200 31,873 34,436
Long-lived asset impairment charges 3,791 0 0
Stock-based compensation 6,605 12,475 6,382
Debt covenant suspension and extinguishment charges 39,178 15,176 11,573
Provision (benefit) for deferred income taxes (413) 829 447
Amortization of debt issue costs 573 846 4,093
Non-cash interest expense 0 1,199 2,237
Gain on disposal of property and equipment (2,102) (5,177) (3,178)
Gain on sale of subsidiary (12,826) 0 0
Provision for bad debt 2,945 3,096 1,047
Other non-cash 0 0 (111)
Changes in operating assets and liabilities:      
Accounts receivable, net 104,620 23,720 (17,202)
Contract cost and recognized income not yet billed 9,672 16,370 28,685
Prepaid expenses and other assets (433) (699) 10,140
Accounts payable and accrued liabilities (56,894) (42,444) (42,512)
Accrued income taxes 715 (7,265) 1,918
Contract billings in excess of cost and recognized income (4,611) 1,070 (19,897)
Other assets and liabilities, net (7,462) 1,702 6,811
Cash provided by (used in) operating activities of continuing operations 46,009 (21,837) (11,829)
Cash provided by (used in) operating activities of discontinued operations (50,204) (38,269) 14,298
Cash provided by (used in) operating activities (4,195) (60,106) 2,469
Cash flows from investing activities:      
Proceeds from sales of property, plant and equipment 12,228 6,372 2,921
Proceeds from sale of subsidiaries 236,112 47,700 38,900
Purchases of property, plant and equipment (2,705) (11,584) (12,483)
Deposit of restricted cash (35,212) 0 0
Cash provided by investing activities of continuing operations 210,423 42,488 29,338
Cash used in investing activities of discontinued operations (590) (3,258) (3,383)
Cash provided by investing activities 209,833 39,230 25,955
Cash flows from financing activities:      
Proceeds from term loan issuance 0 270,000 250,000
Proceeds from revolver and notes payable 30,439 55,000 66,867
Payments on capital leases (915) (846) (1,011)
Payments of revolver and notes payable (30,439) (74,518) (161,484)
Payments on term loan facility (174,648) (249,375) (189,796)
Payments to reacquire common stock (899) (1,762) (676)
Payments to noncontrolling interest owners 0 0 (3,100)
Cost of debt issuance (804) (1,177) (5,235)
Cash used in financing activities of continuing operations (177,266) (2,678) (44,435)
Cash provided by financing activities of discontinued operations 10,624 4,274 6,805
Cash provided by (used in) financing activities (166,642) 1,596 (37,630)
Effect of exchange rate changes on cash and cash equivalents (3,437) (1,057) (1,564)
Cash provided by (used in) all activities 35,559 (20,337) (10,770)
Cash and cash equivalents of continuing operations at beginning of period 22,565 42,096 48,154
Cash and cash equivalents of discontinued operations at beginning of period 708 1,514 6,226
Cash and cash equivalents at beginning of period 23,273 43,610 54,380
Cash and cash equivalents at end of period 58,832 23,273 43,610
Less: cash and cash equivalents of discontinued operations at end of period 0 (708) (1,514)
Cash and cash equivalents of continuing operations at end of period 58,832 22,565 42,096
Supplemental disclosures of cash flow information:      
Cash paid for interest (including discontinued operations) 28,198 26,848 26,856
Cash paid for income taxes (including discontinued operations) 3,495 18,741 13,327
Supplemental non-cash investing and financing transactions:      
Prepaid insurance obtained by note payable 0 0 1,182
Capital expenditure included in accounts payable and accrued liabilities $ 163 $ 685 $ 815