added gitignore to ignore pyc and vim swap files
Fixes bug in centerAppWrapper function