Initialize mouse variable in input.cpp
Delete content resources after use
Clean settings db handle