Annual report pursuant to Section 13 and 15(d)

Term Loans (Parenthetical) (Details)

v3.6.0.2
Term Loans (Parenthetical) (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Fair Value, Off-balance Sheet Risks, Disclosure Information [Line Items]    
Interest $ 13,784 $ (9,397)
Maturity date Jan. 01, 2018  
Debt discount $ 6,903 $ 5,133
Promissory note interest rate 8.00%  
Term Loan [Member]    
Fair Value, Off-balance Sheet Risks, Disclosure Information [Line Items]    
Maturity date Feb. 28, 2019  
Debt discount $ 366  
Promissory note interest rate 12.00%  
Interest paid in kind 2.00%  
Convertible promissory note one [Member]    
Fair Value, Off-balance Sheet Risks, Disclosure Information [Line Items]    
Common ownership percentage 9.75%  
Interest $ 1  
Convertible promissory note two [Member]    
Fair Value, Off-balance Sheet Risks, Disclosure Information [Line Items]    
Maturity date Oct. 31, 2017  
Promissory note interest rate 8.00%  
Convertible promissory note three [Member]    
Fair Value, Off-balance Sheet Risks, Disclosure Information [Line Items]    
Maturity date Oct. 31, 2017  
Promissory note interest rate 8.00%  
8% convertible promissory note, Tim Hannibal, unsecured, maturing October 2017 [Member]    
Fair Value, Off-balance Sheet Risks, Disclosure Information [Line Items]    
Maturity date Oct. 31, 2017  
Promissory note interest rate 8.00%  
Promissory note, 12% interest, unsecured, Dominion Capital, matured in May 2016, net of debt discount of $9 [Member]    
Fair Value, Off-balance Sheet Risks, Disclosure Information [Line Items]    
Maturity date May 31, 2016  
Debt discount $ 9  
Promissory note interest rate 12.00%  
12% senior convertible note, unsecured, matured in January 2017, net of debt discount of $28 and $507, respectively [Member]    
Fair Value, Off-balance Sheet Risks, Disclosure Information [Line Items]    
Maturity date Jan. 31, 2017 Jan. 31, 2017
Debt discount $ 28 $ 507
Promissory note interest rate 12.00% 12.00%
12% senior convertible note, unsecured, Dominion Capital, matured in November 2016, net of debt discount of $173 [Member]    
Fair Value, Off-balance Sheet Risks, Disclosure Information [Line Items]    
Maturity date Nov. 30, 2016  
Debt discount $ 173  
Promissory note interest rate 12.00%  
12% senior convertible note tranche 1, unsecured, Dominion Capital, matured in January 2016, net of debt discount of $15 [Member]    
Fair Value, Off-balance Sheet Risks, Disclosure Information [Line Items]    
Maturity date Jan. 31, 2016  
Debt discount $ 15  
Promissory note interest rate 12.00%  
12% senior convertible note tranche 2, unsecured, Dominion Capital, matured in February 2016, net of debt discount of $80 [Member]    
Fair Value, Off-balance Sheet Risks, Disclosure Information [Line Items]    
Maturity date Feb. 29, 2016  
Debt discount $ 80  
Promissory note interest rate 12.00%  
12% senior convertible note tranche 3, unsecured, Dominion Capital, matured in March 2016, net of debt discount of $55 [Member]    
Fair Value, Off-balance Sheet Risks, Disclosure Information [Line Items]    
Maturity date Mar. 31, 2016  
Debt discount $ 55  
Promissory note interest rate 12.00%  
12% senior convertible note, unsecured, Dominion Capital, maturing in November 2017, net of debt discount of $65 [Member]    
Fair Value, Off-balance Sheet Risks, Disclosure Information [Line Items]    
Maturity date Nov. 30, 2017  
Debt discount $ 65  
Promissory note interest rate 12.00%  
12% convertible note, Richard Smithline, unsecured, matured in January 2017, net of debt discount of $2 and $107, respectively [Member]    
Fair Value, Off-balance Sheet Risks, Disclosure Information [Line Items]    
Maturity date Jan. 31, 2017 Jan. 31, 2017
Debt discount $ 2 $ 107
Promissory note interest rate 12.00% 12.00%
Senior secured convertible debenture, JGB (Cayman) Waltham Ltd., bearing interest of 4.67%, maturing in May 2019, net of debt discount of $3,135 and $4,179, respectively [Member]    
Fair Value, Off-balance Sheet Risks, Disclosure Information [Line Items]    
Maturity date May 31, 2019 May 31, 2019
Debt discount $ 3,135 $ 4,179
Promissory note interest rate 4.67% 4.67%
Senior secured convertible note, JGB (Cayman) Concord Ltd., bearing interest at 4.67%, maturing in May 2019, net of debt discount of $1,668 [Member]    
Fair Value, Off-balance Sheet Risks, Disclosure Information [Line Items]    
Maturity date May 31, 2019  
Debt discount $ 1,668  
Promissory note interest rate 4.67%  
Senior secured note, JGB (Cayman) Waltham Ltd., bearing interest at 4.67%, maturing in May 2019, net of debt discount of $234 [Member]    
Fair Value, Off-balance Sheet Risks, Disclosure Information [Line Items]    
Maturity date May 31, 2019  
Debt discount $ 234  
Promissory note interest rate 4.67%  
Receivables Purchase Agreement with Dominion Capital, net of debt discount of $44 [Member]    
Fair Value, Off-balance Sheet Risks, Disclosure Information [Line Items]    
Debt discount $ 44  
Promissory note issued to Trinity Hall, 3% interest, unsecured, maturing in January 2018 (reclassified from related party notes during 2016 - refer to the assignment paragraphs later within this footnote and Note 18, Related Parties)[Member]    
Fair Value, Off-balance Sheet Risks, Disclosure Information [Line Items]    
Maturity date Jan. 31, 2018 Jan. 31, 2018
Promissory note interest rate 3.00% 3.00%