HELP! Greenhouse contol concept problems PLEASE READ!

Ask me anything but not the source code as I don't have it anymore:
http://www.cs.helsinki.fi/u/ljlukkar/hydrobot/