Make more local variables static to avoid generic name collitions.
Make more local variables static to avoid generic name collitions.

Change-Id: If994e2abb1e89ae3925c6d2609582f8914e932fa
Reviewed-on: http://10.236.89.5:8080/1122
Scrum-Card: Anders Arnholm <119bbdff62cc7cf6bb8c597c367940702727c3af@mecel.se>
Reviewed-by: Anders Arnholm <119bbdff62cc7cf6bb8c597c367940702727c3af@mecel.se>
Tested-by: Anders Arnholm <119bbdff62cc7cf6bb8c597c367940702727c3af@mecel.se>

balp/DevIL,balp/DevIL,balp/DevIL,balp/DevIL,balp/DevIL