kliment/Printrun — pull request #279 by iXce (2012-09-05 07:59:09+00:00)
Title: Connection rework, coding style rework

This pull request includes mostly connection improvements :
- cleaned up the threading stuff (threads are now cleanly stopped and joined instead of betting that they should stop within 1 second and sleeping for that amount of time)
- cleaned the serial listening stuff
- added a "recover" function which allows you to recover a print after serial connection has failed/electronics have reset...

It also includes a lot of coding style changes (tab vs spaces, extra newlines, spaces a little bit everywhere for better readability) to fit more PEP-8.