Fixes on bitmap creation. Added image sequence feature.