Bugfix update ! HA 1.4dev 20-03-2013

Hi,
i fixed lots of those bugs .

now, here is the pull-request you wanted me to do ;)

I had some trouble getting Git to work, might be due to the reason, you have two folders with your name ("Travja" and "travja") , hm
Updating files resulted in deleting them ... strange!

So i deleted all , replaced the files with your source and added my changed files again ...  ;/

is that ok , or must i do that again somehow to let you pull it ?

greetings,
Jeppa