Processing and modeling issues for thin-film solar cell devices