Seperated control and state code.

Author Paul Honig <paul@etv.cx>
Author date 2013-09-30 21:43:15
Author local date 2013-09-30 23:43:15 +0200
Committer Paul Honig <paul@etv.cx>
Committer date 2013-09-30 21:43:15
Committer local date 2013-09-30 23:43:15 +0200
Commit 4e73dbcdf1371519d6b24f10df6016a6ea1cee79
Tree b9a1bb7d847729176eb5ca718201072655de3f26
Parent aa67bb076e53e02d1408d48afff88183609770f3
Seperated control and state code.
Fixed feedback loop some what more.