Changed the framework profile to Client

Other little changes are included too.