| Note 10 - Long-term Debt | 12 Months Ended | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Dec. 31, 2016 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Notes to Financial Statements | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Long-term Debt [Text Block] | NOTE  10 LONG-TERM DEBT  Long-term debt consists of the following at   December 31, 2016and  December 31, 2015: 
 (1) (2)  April 1, 2016,the monthly installment payment under the term loan was approximately $190,000. (3) (4) ($50,000)at  December 31, 2015.See “Promissory Notes” below for additional information. (5) ($151,000)and ($152,000)at  December 31, 2016and  December 31, 2015,respectively. Revolving Credit and Term Loan Agreement The Company is subject to an Amended and Restated Revolving Credit, Term Loan and Security Agreement (“Loan Agreement”) with PNC National Association (“PNC”), acting as agent and lender. The Loan Agreement, as subsequently amended prior to the   March 24, 2016amendment discussed below (“Amended Loan Agreement”), provided the Company with the following credit facility: (a) up to $12,000,000revolving line of credit (“revolving credit”), subject to the amount of borrowings based on a percentage of eligible receivables (as defined) and (b) a term loan (“term loan”) of $16,000,000,which required monthly installments of approximately $190,000(based on a seven-year amortization). Under the Amended Loan Agreement, the Company had the option of paying an annual rate of interest due on the revolving credit at prime plus  2%or London Inter Bank Offer Rate (“LIBOR”) plus 3%and the term loan at prime plus 2.5%or LIBOR plus 3.5%. On   March 24, 2016,the Company entered into an amendment to the Amended Loan Agreement with PNC which provided, among other things, the following (the amendment, together with the Amended Loan Agreement is collectively the “Revised Loan Agreement”): 
 
 
 
 
 In connection with the   March 24, 2016amendment, the Company paid PNC total closing fees of approximately $72,000.As a result of the  March 24, 2016amendment, the Company recorded approximately $68,000in loss on extinguishment of debt in accordance with ASC 470- 50,“Debt – Modifications and Extinguishments,” which was included in interest expense in the accompanying Consolidated Statements of Operations. Pursuant to the Revised Loan Agreement, the Company   mayterminate the Revised Loan Agreement upon 90days’ prior written notice upon payment in full of its obligations under the Revised Loan Agreement. The Company has agreed to pay PNC 1.0%of the total financing in the event the Company pays off its obligations on or before  March 23, 2017, .50%of the total financing if the Company pays off its obligations after  March 23, 2017but prior to or on  March 23, 2018,and .25%of the total financing if the Company pays off its obligations after  March 23, 2018but prior to or on  March 23, 2019.  Noearly termination fee shall apply if the Company pays off its obligations after  March 23, 2019. The Company’s credit facility with PNC contains certain financial covenants, along with customary representations and warranties. A breach of any of these financial covenants, unless waived by PNC, could result in a default under our credit facility allowing our lender to immediately require the repayment of all outstanding debt under our credit facility and terminate all commitments to extend further credit. The Company failed to meet its minimum quarterly fixed charge coverage ratio (“FCCR”) requirement of  1.15:1in the firstquarter of 2016.On  May 23, 2016,the Company’s lender waived this non-compliance. In connection with this waiver, the Company paid PNC a fee of $5,000which was included in selling, general and administrative expenses. The Company met its financial covenant requirements in the secondquarter of 2016except for its quarterly FCCR requirement. On  August 22, 2016,the Company entered into an amendment to its Revised Loan Agreement with its lender which waived the Company’s non-compliance with its minimum quarterly FCCR for the secondquarter of 2016.In addition, the amendment revised the methodology to be used in calculating the FCCR in the thirdquarter of 2016,the fourthquarter of 2016and the firstquarter of 2017.This amendment also revised the Company’s minimum Tangible Adjusted Net Worth requirement (as defined in the Revised Loan Agreement) from $30,000,000to $26,000,000.In connection with the amendment, the Company paid PNC a fee of $25,000,which is being amortized over the remaining term of the loan as interest expense – financing fees. The Company failed to meet its FCCR in the thirdquarter of 2016.On  November 17, 2016,the Company entered into another amendment to its Revised Loan Agreement with its lender. This amendment included the following: 
 
 
 
 As of   December 31, 2016,the availability under our revolving credit was $1,748,000,based on our eligible receivables and includes the remaining indefinite reduction of borrowing availability of $1,250,000as discussed above. Pursuant to the amendment dated   November 17, 2016as discussed above, the Company’s lender also established a “Condition Subsequent” which requires the Company to receive restricted cash from a finite risk sinking fund in connection with our PFNWR closure policy. Immediately upon the receipt of funds, the Company’s lender is to immediately place another $750,000restriction on the Company’s borrowing availability resulting in a total of $2,000,000restriction on the Company’s borrowing availability (see “Note 14– Commitments and Contingencies” – “Insurance” for further information of the PFNWR closure policy and the pending receipt of the related sinking fund). All other terms of the Revised Loan Agreement remain principally unchanged. In connection with this amendment, the Company paid its lender a fee of  $25,000,which is being amortized over the remaining term of the loan as interest expense-financing fees. Promissory Note  The Company entered into a  $3,000,000loan dated  August 2, 2013with Messrs. Robert Ferguson and William Lampson (each known as the “Lender”). As consideration for the Company receiving the loan, the Company issued to each Lender a Warrant to purchase up to 35,000shares of the Company’s Common Stock at an exercise price of $2.23per share. On  August 2, 2016,each Lender exercised his Warrant for the purchase of 35,000shares of our Common Stock, resulting in total proceeds paid to the Company of approximately $156,000.As further consideration for the loan, the Company had also issued to each Lender 45,000shares of the Company’s Common Stock. The fair value of the Warrants and Common Stock and the related closing fees incurred from this transaction were recorded as a debt discount, which has been fully amortized using the effective interest method over the term of the loan as interest expense – financing fees. The loan was repaid in full by the Company in  August 2016. The following table details the amount of the maturities of long-term debt maturing in future years as of   December 31, 2016of our continuing operations (excludes debt issuance costs). 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||