added some stuff...

Signed-off-by: imp <johannes.san@gmail.com>
put the if case to a more preferable method.

Signed-off-by: imp <johannes.san@gmail.com>
Merge branch 'master' of github.com:rvnijnatten/IP2
changed a lot. dunno anymore

Signed-off-by: imp <johannes.san@gmail.com>