fixed some generic warnings
fixed some issues found with findbugs
extended test; removed no longer active TilesSources